/*
    SDL - Simple DirectMedia Layer
    Copyright (C) 1997-2009 Sam Lantinga

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
    License as published by the Free Software Foundation; either
    version 2.1 of the License, or (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this library; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

    Sam Lantinga
    slouken@libsdl.org
*/

#ifndef CELL_OverlayImage_H
#define CELL_OverlayImage_H

#include <PSGL/psgl.h>

typedef struct					_CELL_ImageAS
{
	GLuint						TextureID;
	GLuint						AttributeSetID;
	GLuint						VertexBufferID;
}	CELL_OverlayImage;

void							CELL_IMAGE_Load				(CELL_OverlayImage* aImage, float aX, float aY, float aWidth, float aHeight, uint32_t* aPixels, uint32_t aImageWidth, uint32_t aImageHeight);
void							CELL_IMAGE_Free				(CELL_OverlayImage* aImage);

void							CELL_IMAGE_Draw				(CELL_OverlayImage* aImage);
void							CELL_IMAGE_Draw_T			(CELL_OverlayImage* aImage, int32_t aX, int32_t aY);
void							CELL_IMAGE_Draw_TA			(CELL_OverlayImage* aImage, int32_t aX, int32_t aY, float aAlpha);

#endif

